import request from '@/common/request'
// 获取版本号
export function getVersion() {
  return request.postRequest("/api/version/version", null)
}

// 获取apk下载链接
export function getApkLink() {
  return request.postRequest("/api/version/get-apk-link", null)
}

// 下载apk
export function downloadApk(fileName) {
  return request.postRequest("/api/version/download-apk/${fileName}", null)
}

export default {
	getVersion,
	getApkLink,
	downloadApk
}
